重新组织目录

This commit is contained in:
2023-04-21 09:26:04 +08:00
parent 41580fe1fb
commit bddd6ac805
33 changed files with 76 additions and 75 deletions

View File

@@ -0,0 +1,88 @@
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; }
}
}