| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- using System;
- using SqlSugar;
- namespace TeamAAS_VP.Models
- {
- [SugarTable("ProductionRecord")]
- public class ProductionRecord
- {
- [SugarColumn(IsPrimaryKey = true)]
- public Guid Id { get; set; } = Guid.NewGuid();
- public string ProductName { get; set; }
- /// <summary>
- /// 끓틔긍뵀
- /// </summary>
- [SugarColumn(Length = 255, IsNullable = true)]
- public string ProductCode { get; set; }
- /// <summary>
- /// �구ID
- /// </summary>
- public int DeviceId { get; set; }
- /// <summary>
- /// �구긍뵀
- /// </summary>
- [SugarColumn(Length = 255, IsNullable = true)]
- public string DeviceName { get; set; }
- public DateTime Timestamp { get; set; } = DateTime.UtcNow;
- /// <summary>
- /// Category like "OK", "NG", etc.
- /// </summary>
- public string Category { get; set; }
- /// <summary>
- /// quantity for this record
- /// </summary>
- public int Quantity { get; set; }
- /// <summary>
- /// The user name of the operator who generated this record.
- /// </summary>
- [SugarColumn(Length = 255, IsNullable = true)]
- public string UserName { get; set; }
- /// <summary>
- /// 구鬧
- /// </summary>
- [SugarColumn(Length = 500, IsNullable = true)]
- public string Remark { get; set; }
- }
- }
|