Skip to content

Instantly share code, notes, and snippets.

/DD Secret

Created February 15, 2017 03:55
Show Gist options
  • Save anonymous/95468b64937d07114757faf8e18a598b to your computer and use it in GitHub Desktop.
Save anonymous/95468b64937d07114757faf8e18a598b to your computer and use it in GitHub Desktop.
public class RelationshipDD
{
public int Id { get; set; }
[MaxLength(2)]
[Column(TypeName = "nvarchar")]
public string Code { get; set; }
[MaxLength(40)]
[Column(TypeName = "nvarchar")]
public string Definition { get; set; }
public GenderDD Gender { get; set; }
[MaxLength(2)]
[Column(TypeName = "nvarchar")]
public string FemaleReverseRelationshipCode { get; set; }
[MaxLength(40)]
[Column(TypeName = "nvarchar")]
public string FemaleReverseRelationshipDefinition { get; set; }
[MaxLength(2)]
[Column(TypeName = "nvarchar")]
public string MaleReverseRelationshipCode { get; set; }
[MaxLength(40)]
[Column(TypeName = "nvarchar")]
public string MaleReverseRelationshipDefinition { get; set; }
public int OrderIndex { get; set; }
[Column(TypeName = "datetime")]
public DateTime? CreateDate { get; set; }
[MaxLength(100)]
[Column(TypeName = "nvarchar")]
public string CreatedBy { get; set; }
public bool Deleted { get; set; }
[Column(TypeName = "datetime")]
public DateTime? UpdateDate { get; set; }
[MaxLength(100)]
[Column(TypeName = "nvarchar")]
public string UpdatedBy { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment