89 lines
2.8 KiB
C#
89 lines
2.8 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using JNPF.Common.Contracts;
|
||
using SqlSugar;
|
||
using Tnb.Common.Contracts;
|
||
|
||
namespace Tnb.BasicData.Entitys.Entity
|
||
{
|
||
/// <summary>
|
||
/// 工艺路线资料
|
||
///</summary>
|
||
[SugarTable("bas_route")]
|
||
public class BasRoute : BaseEntity<string>
|
||
{
|
||
/// <summary>
|
||
/// 工艺路线代码
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "route_code")]
|
||
public string RouteCode { get; set; }
|
||
/// <summary>
|
||
/// 工艺路线名称
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "route_name")]
|
||
public string RouteName { get; set; }
|
||
/// <summary>
|
||
/// 工艺路线版本
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "version")]
|
||
public string Version { get; set; }
|
||
/// <summary>
|
||
/// 工艺路线类型: 标准途程:Standard 返工途程:Rework 试制途程:Trial 返修途程:RMA
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "route_type")]
|
||
public string RouteType { get; set; }
|
||
/// <summary>
|
||
/// 创建时间
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "create_time")]
|
||
public DateTime CreateTime { get; set; }
|
||
/// <summary>
|
||
/// 修改时间
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "modify_time")]
|
||
public DateTime? ModifyTime { get; set; }
|
||
/// <summary>
|
||
/// 扩展字段
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "extras")]
|
||
public string? Extras { get; set; }
|
||
/// <summary>
|
||
/// 租户ID
|
||
/// 默认值: NULL::character varying
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "tenant_id")]
|
||
public string? TenantId { get; set; }
|
||
/// <summary>
|
||
/// 所属组织ID
|
||
/// 默认值: NULL::character varying
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "org_id")]
|
||
public string? OrgId { get; set; }
|
||
/// <summary>
|
||
/// 备注
|
||
/// 默认值: NULL::character varying
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "remark")]
|
||
public string? Remark { get; set; }
|
||
/// <summary>
|
||
/// 时间戳(用于并发控制)
|
||
/// 默认值: NULL::character varying
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "timestamp")]
|
||
public string? Timestamp { get; set; }
|
||
/// <summary>
|
||
/// 创建用户
|
||
/// 默认值: NULL::character varying
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "create_id")]
|
||
public string? CreateId { get; set; }
|
||
/// <summary>
|
||
/// 修改用户
|
||
/// 默认值: NULL::character varying
|
||
///</summary>
|
||
[SugarColumn(ColumnName = "modify_id")]
|
||
public string? ModifyId { get; set; }
|
||
}
|
||
}
|