You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.7 KiB

1 year ago
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CK.SCP.Models.ScpEntity
{
public partial class TS_STOCK
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Key]
public long UID { get; set; }
[Column(Order = 0)]
[StringLength(50)]
public string BarCode { get; set; }
[Column(Order = 1)]
[StringLength(50)]
public string LocCode { get; set; }
[Required]
[StringLength(50)]
public string PartCode { get; set; }
[Required]
[StringLength(50)]
public string Batch { get; set; }
[Column(Order = 2)]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int State { get; set; }
[StringLength(50)]
public string VendId { get; set; }
[Column(TypeName = "money")]
public decimal Qty { get; set; }
[StringLength(50)]
public string VendBatch { get; set; }
[Column(TypeName = "date")]
public DateTime ReceiveDate { get; set; }
[Column(TypeName = "date")]
public DateTime ProduceDate { get; set; }
[StringLength(500)]
public string Remark { get; set; }
[StringLength(50)]
public string Site { get; set; }
[StringLength(50)]
public string LocUnit { get; set; }
public DateTime CreateTime { get; set; }
[StringLength(50)]
public string CreateUser { get; set; }
public DateTime UpdateTIme { get; set; }
[StringLength(50)]
public string UpdateUser { get; set; }
[StringLength(20)]
public string Domain { get; set; }
}
}