12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- using Cksoft.Unity;
- using System;
- namespace DllEapEntity
- {
- [Table("WaferDetail")]
- public class WaferDetail:BaseEntity
- {
- ////自动产生代码开始&&此行不能删除
- #region 自动产生代码
- public WaferDetail()
- {
- base.EntityStatusID = 1;
- }
- [ColDetail(10,"ID",1,1,100,1,"a.ID","",1,1)]
- [Key]
- [Identity]
- public int ID { get; set; }
- [ColDetail(20,"主档ID",1,1,100,1,"a.MstID","",1,1)]
- public int MstID { get; set; }
- [ColDetail(30,"waferLot",1,1,100,1,"a.WaferLot","",1,1)]
- public string WaferLot { get; set; }
- [ColDetail(40,"片号",1,1,100,1,"a.Piece","",1,1)]
- public string Piece { get; set; }
- [ColDetail(50,"备注",1,1,100,1,"a.remark","",1,1)]
- public string remark { get; set; }
- [ColDetail(60,"reccode",1,1,100,1,"a.reccode","",1,1)]
- public string RecCode { get; set; }
- [ColDetail(70,"录入日期",1,1,100,1,"a.rectime","",1,1)]
- public DateTime RecTime { get; set; }
- [ColDetail(80,"modcode",1,1,100,1,"a.modcode","",1,1)]
- public string ModCode { get; set; }
- [ColDetail(90,"修改时间",1,1,100,1,"a.modtime","",1,1)]
- public DateTime ModTime { get; set; }
- public override string GetSelectSql()
- {
- return string.Format($"select { GetQueryColSql()} from { GetQueryTabSql()}");
- }
- public override string GetQueryColSql()
- {
- string sqlstr = "a.ID ID,a.MstID MstID,a.WaferLot WaferLot,a.Piece Piece,a.remark remark,a.reccode RecCode,a.rectime RecTime,a.modcode ModCode,a.modtime ModTime";
- sqlstr += ",0 EntityStatusID";
- return sqlstr;
- }
- public override string GetQueryTabSql()
- {
- string sqlstr=" WaferDetail a ";
- return sqlstr;
- }
- public override string GetQuerySortSql()
- {
- return "";
- }
- #endregion
- ////自动产生代码结束&&此行不能删除
-
- [Ignore]
- public string WaferSourceAndCom { get; set; }
- }
- }
|