47 lines
1.1 KiB
C#
47 lines
1.1 KiB
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace CRM.Core.Model.Entity
|
|
{
|
|
[Table("BAS_SALESDEPARTMENT")]
|
|
public partial class BAS_SALESDEPARTMENT
|
|
{
|
|
[Key]
|
|
public decimal SALEDEPTID { get; set; }
|
|
|
|
public decimal? COMPANYID { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(6)]
|
|
public string SALEDEPTCODE { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(50)]
|
|
public string DEPTNAME { get; set; }
|
|
|
|
[StringLength(255)]
|
|
public string ADDRESS { get; set; }
|
|
|
|
[StringLength(100)]
|
|
public string LINKNAME { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string AREACODE { get; set; }
|
|
|
|
[StringLength(100)]
|
|
public string PHONE { get; set; }
|
|
|
|
public DateTime? CREATIONDATE { get; set; }
|
|
|
|
public decimal? CREATIONBY { get; set; }
|
|
|
|
public DateTime? UPDATEDATE { get; set; }
|
|
|
|
public decimal? UPDATEBY { get; set; }
|
|
|
|
public virtual BAS_COMPANY BAS_COMPANY { get; set; }
|
|
|
|
}
|
|
}
|