53 lines
1.5 KiB
C#
53 lines
1.5 KiB
C#
namespace WX.CRM.Model.Entity
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
[Table("UPDEV.BAS_COMPANY")]
|
|
public partial class BAS_COMPANY
|
|
{
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
public BAS_COMPANY()
|
|
{
|
|
BAS_SALESDEPARTMENT = new HashSet<BAS_SALESDEPARTMENT>();
|
|
}
|
|
|
|
[Key]
|
|
public decimal COMPANYID { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string COMPANYNAME { get; set; }
|
|
|
|
public short? ISOUTERAGENT { get; set; }
|
|
|
|
public decimal? PARENTID { get; set; }
|
|
|
|
[StringLength(6)]
|
|
public string COMPANYCODE { get; set; }
|
|
|
|
public decimal BUSINESSVALUE { get; set; }
|
|
|
|
public DateTime? CTIME { get; set; }
|
|
|
|
public decimal? CREATEUSER { get; set; }
|
|
|
|
public DateTime? UTIME { get; set; }
|
|
|
|
public decimal? UPDATEUSER { get; set; }
|
|
|
|
[StringLength(100)]
|
|
public string COMMENTS { get; set; }
|
|
|
|
[StringLength(1)]
|
|
public string SYSTEMCODE { get; set; }
|
|
|
|
[StringLength(20)]
|
|
public string ORGANNAME { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<BAS_SALESDEPARTMENT> BAS_SALESDEPARTMENT { get; set; }
|
|
}
|
|
}
|