134 lines
2.6 KiB
C#
134 lines
2.6 KiB
C#
/*
|
|
###CSharp Code Generate###
|
|
CJLR_TASK_RELEASE
|
|
Create by User(EMAIL) 2025/8/4 13:34:37
|
|
|
|
CJLR_TASK_RELEASE
|
|
---------------------------
|
|
id PKInteger(10) //<<类名:int,自增长>>
|
|
modelsName String(50) //<<类名:nvarchar>>
|
|
modelsCode String(10) //<<类名:nvarchar>>
|
|
position String(10) //<<类名:nvarchar>>
|
|
sourceFile String(255) //<<类名:nvarchar>>
|
|
targetFile String(50) //<<类名:nvarchar>>
|
|
status String(50) //<<类名:nvarchar>>
|
|
create_date Date //<<类名:smalldatetime>>
|
|
is_delete Integer(10) //<<类名:int>> 1 表示存在, 0 表示删除
|
|
readType Integer(10) //<<类名:int>> 1 表示文件内容, 2 表示文件名称
|
|
*/
|
|
|
|
using System;
|
|
|
|
namespace NSAnalysis.Model
|
|
{
|
|
public class CjlrTaskReleaseModel
|
|
{
|
|
protected int id;
|
|
protected string modelsName;
|
|
protected string modelsCode;
|
|
protected string position;
|
|
protected string sourceFile;
|
|
protected string targetFile;
|
|
protected string status;
|
|
protected DateTime createDate;
|
|
protected int isDelete;
|
|
protected int readType;
|
|
|
|
public CjlrTaskReleaseModel()
|
|
{
|
|
}
|
|
|
|
public int Id
|
|
{
|
|
get { return id; }
|
|
set { id = value; }
|
|
}
|
|
|
|
public string ModelsName
|
|
{
|
|
get { return modelsName; }
|
|
set { modelsName = value; }
|
|
}
|
|
|
|
public string ModelsCode
|
|
{
|
|
get { return modelsCode; }
|
|
set { modelsCode = value; }
|
|
}
|
|
|
|
public string Position
|
|
{
|
|
get { return position; }
|
|
set { position = value; }
|
|
}
|
|
|
|
public string SourceFile
|
|
{
|
|
get { return sourceFile; }
|
|
set { sourceFile = value; }
|
|
}
|
|
|
|
public string TargetFile
|
|
{
|
|
get { return targetFile; }
|
|
set { targetFile = value; }
|
|
}
|
|
|
|
public string Status
|
|
{
|
|
get { return status; }
|
|
set { status = value; }
|
|
}
|
|
|
|
public DateTime CreateDate
|
|
{
|
|
get { return createDate; }
|
|
set { createDate = value; }
|
|
}
|
|
|
|
public int IsDelete
|
|
{
|
|
get { return isDelete; }
|
|
set { isDelete = value; }
|
|
}
|
|
|
|
public int ReadType
|
|
{
|
|
get { return readType; }
|
|
set { readType = value; }
|
|
}
|
|
|
|
public void Reset()
|
|
{
|
|
id = 0;
|
|
modelsName = null;
|
|
modelsCode = null;
|
|
position = null;
|
|
sourceFile = null;
|
|
targetFile = null;
|
|
status = null;
|
|
createDate = DateTime.Parse("2023-01-01 00:00:00");
|
|
isDelete = 0;
|
|
readType = 0;
|
|
}
|
|
|
|
public void AssignFrom(CjlrTaskReleaseModel AObj)
|
|
{
|
|
if (AObj == null)
|
|
{
|
|
Reset();
|
|
return;
|
|
}
|
|
id = AObj.id;
|
|
modelsName = AObj.modelsName;
|
|
modelsCode = AObj.modelsCode;
|
|
position = AObj.position;
|
|
sourceFile = AObj.sourceFile;
|
|
targetFile = AObj.targetFile;
|
|
status = AObj.status;
|
|
createDate = AObj.createDate;
|
|
isDelete = AObj.isDelete;
|
|
readType = AObj.readType;
|
|
}
|
|
}
|
|
} |