321 lines
12 KiB
C#
321 lines
12 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.Mvc;
|
|
using AutoMapper;
|
|
|
|
namespace dccdc.Models
|
|
{
|
|
public class DictionariesViewModel
|
|
{
|
|
public class HujiViewmodel
|
|
{
|
|
[Required(ErrorMessage = "户籍不能为空")]
|
|
public string Natives { get; set; }
|
|
[Required(ErrorMessage = "使用状态不能为空")]
|
|
public string Status { get; set; }
|
|
|
|
public string Id { get; set; }
|
|
|
|
}
|
|
|
|
public class HyWhViewModel
|
|
{
|
|
[Key]
|
|
public int Id { get; set; }
|
|
|
|
[Required(ErrorMessage = "行业名称不能为空")]
|
|
public string WorkTypeName { get; set; }
|
|
|
|
public int WorkTypeMaintainId { get; set; }
|
|
[Required(ErrorMessage = "工种名称不能为空")]
|
|
public string TradeName { get; set; }
|
|
|
|
public int TradeTypeMaintainId { get; set; }
|
|
public string Status { get; set; }
|
|
public string Creator { get; set; }
|
|
public string CreateTime { get; set; }
|
|
}
|
|
|
|
public class TjxmViewModel
|
|
{
|
|
|
|
public string id { get; set; }
|
|
public string project_id { get; set; }
|
|
[Required(ErrorMessage = "体检项目名称不能为空")]
|
|
public string project_name { get; set; }
|
|
public string project_alias { get; set; }
|
|
public string charge_project { get; set; }
|
|
//int? :设置收费项目可空
|
|
public int? charge_project_maintain_id { get; set; }
|
|
public string exam_group { get; set; }
|
|
public int exam_group_maintain_id { get; set; }
|
|
public string lis { get; set; }
|
|
public string special_conf { get; set; }
|
|
public int project_type_id { get; set; }
|
|
public string project_type { get; set; }
|
|
public string prepose_condition { get; set; }
|
|
public int exam_prepose_condition_maintain_id { get; set; }
|
|
public string model { get; set; }
|
|
public int judgment_mode_maintain_id { get; set; }
|
|
public string exam_project_result { get; set; }
|
|
public int exam_project_result_id { get; set; }
|
|
public string max { get; set; }
|
|
public string min { get; set; }
|
|
public string critical_max { get; set; }
|
|
public string critical_min { get; set; }
|
|
public string standard_value { get; set; }
|
|
//2023-11-23 xulu 增加默认值必填
|
|
[Required(ErrorMessage = "默认值不能为空")]
|
|
public string default_value { get; set; }
|
|
public string unit { get; set; }
|
|
public string bar_code { get; set; }
|
|
public string multiple_code { get; set; }
|
|
public string sex { get; set; }
|
|
public string is_lab { get; set; }
|
|
public string is_show { get; set; }
|
|
public string is_print { get; set; }
|
|
public string status { get; set; }
|
|
public string is_general { get; set; }
|
|
public string is_onSite { get; set; }
|
|
public string pinyin_code { get; set; }
|
|
public int order_id { get; set; }
|
|
}
|
|
|
|
public class TjjgViewModel
|
|
{
|
|
public int id { get; set; }
|
|
public string project_id { get; set; }
|
|
public string project_name { get; set; }
|
|
public string test_result { get; set; }
|
|
public string is_qualified { get; set; }
|
|
public string is_add_summary { get; set; }
|
|
public string status { get; set; }
|
|
}
|
|
|
|
public class TjqztjViewModel
|
|
{
|
|
public int ID { get; set; }
|
|
[Required(ErrorMessage = "不能为空!")]
|
|
public string prepose_condition { get; set; }
|
|
[Required(ErrorMessage = "不能为空!")]
|
|
public string status { get; set; }
|
|
public string creator { get; set; }
|
|
public string create_time { get; set; }
|
|
}
|
|
|
|
public class MbjbViewModel
|
|
{
|
|
public int id { get; set; }
|
|
public string code { get; set; }
|
|
[Required(ErrorMessage = "目标疾病不能为空")]
|
|
public string disease_name { get; set; }
|
|
public string disease_type { get; set; }
|
|
[Required(ErrorMessage = "使用状态不能为空")]
|
|
public string status { get; set; }
|
|
public string pinyin_code { get; set; }
|
|
public string creator { get; set; }
|
|
public string create_time { get; set; }
|
|
}
|
|
|
|
public class ZjbgzywhViewModel
|
|
{
|
|
public int id { get; set; }
|
|
public string harmful_factor_name { get; set; }
|
|
public int harmful_factors_maintain_id { get; set; }
|
|
public string name { get; set; }
|
|
public string pinyin_code { get; set; }
|
|
public string status { get; set; }
|
|
public string creator { get; set; }
|
|
public string create_time { get; set; }
|
|
}
|
|
|
|
|
|
public class TJfanganSFxiangmuWhViewModel
|
|
{
|
|
[Key]
|
|
public int Id { get; set; }
|
|
|
|
[Required(ErrorMessage = "体检方案名称不能为空")]
|
|
public string MedicalScheme { get; set; }
|
|
public int MedicalSchemeMaintainId { get; set; }
|
|
|
|
[Required(ErrorMessage = "收费项目名称不能为空")]
|
|
public string ChargeProjectName { get; set; }
|
|
public int ChargeProjectMaintainId { get; set; }
|
|
|
|
[Required(ErrorMessage = "金额不能为空")]
|
|
public string Fee { get; set; }
|
|
}
|
|
|
|
public class YHyinsuWhModel
|
|
{
|
|
[Key]
|
|
public int id { get; set; }
|
|
public string Code { get; set; }
|
|
public string Harmful_factor_name { get; set; }
|
|
public string Harmful_factor_type { get; set; }
|
|
public string Harmful_factor_type_name { get; set; }
|
|
public string Check_type { get; set; }
|
|
public string Check_type_maintain_id { get; set; }
|
|
public string Status_show_contraindicated { get; set; }
|
|
public string Status_show_occupationdisease { get; set; }
|
|
public string Status { get; set; }
|
|
public string Pinyin_code { get; set; }
|
|
public string Creator { get; set; }
|
|
public string Create_time { get; set; }
|
|
}
|
|
|
|
public class TjfnViewModel
|
|
{
|
|
public int id { get; set; }
|
|
public string scheme_name { get; set; }
|
|
public string scheme_type { get; set; }
|
|
public int util_id { get; set; }
|
|
public string util_name { get; set; }
|
|
public string exam_type { get; set; }
|
|
public int check_type_maintain_id { get; set; }
|
|
public string station_status { get; set; }
|
|
public int jobs_state_maintain_id { get; set; }
|
|
public string hazard_type_ids { get; set; }
|
|
public string hazard_type_names { get; set; }
|
|
public string hazards { get; set; }
|
|
public string hazards_alias { get; set; }
|
|
public string harmful_factors_maintain_id { get; set; }
|
|
public string check_item_ids { get; set; }
|
|
public string valid_start { get; set; }
|
|
public string valid_end { get; set; }
|
|
public string expense_name { get; set; }
|
|
public string recievable_amount { get; set; }
|
|
public string agreement_amount { get; set; }
|
|
//2023-11-22 xulu 打印项目ids
|
|
public string print_item_ids { get; set; }
|
|
}
|
|
|
|
public class GWLXViewModel
|
|
{
|
|
public int id { get; set; }
|
|
public String code { get; set; }
|
|
public String jobs_state { get; set; }
|
|
public String status { get; set; }
|
|
public String creator { get; set; }
|
|
public String create_time { get; set; }
|
|
}
|
|
|
|
public class BarCodeProjectMaintain
|
|
{
|
|
public int id { get; set; }
|
|
public String code_name { get; set; }
|
|
public int bar_code_maintain_id { get; set; }
|
|
public String project { get; set; }
|
|
public int exam_project_maintain_id { get; set; }
|
|
public String project_code { get; set; }
|
|
}
|
|
|
|
public class BarCodeMaintain
|
|
{
|
|
public int id { get; set; }
|
|
public String code_name { get; set; }
|
|
public String is_print { get; set; }
|
|
public String status { get; set; }
|
|
public String creator { get; set; }
|
|
public String create_time { get; set; }
|
|
}
|
|
|
|
public class medical_scheme_project_maintainViewModel
|
|
{
|
|
public int id { get; set; }
|
|
public string medical_scheme { get; set; }
|
|
[Required(ErrorMessage = "体检方案不能为空")]
|
|
public int medical_scheme_maintain_id { get; set; }
|
|
public string team_name { get; set; }
|
|
public string project_name { get; set; }
|
|
[Required(ErrorMessage = "体检项目不能为空")]
|
|
public string exam_project_maintain_project_id { get; set; }
|
|
}
|
|
|
|
|
|
public class MedicalSchemeMaintainViewModel
|
|
{
|
|
public int id { get; set; }
|
|
[Required(ErrorMessage = "不能为空!")]
|
|
public string code { get; set; }
|
|
[Required(ErrorMessage = "不能为空!")]
|
|
public string medical_scheme { get; set; }
|
|
[Required(ErrorMessage = "不能为空!")]
|
|
public string status { get; set; }
|
|
public string creator { get; set; }
|
|
public string create_time { get; set; }
|
|
public string isCharge { get; set; }
|
|
|
|
|
|
}
|
|
|
|
public class SymptomsMaintain
|
|
{
|
|
public int id { get; set; }
|
|
[Required(ErrorMessage = "不能为空!")]
|
|
public string code { get; set; }
|
|
[Required(ErrorMessage = "不能为空!")]
|
|
public string symptoms_name { get; set; }
|
|
public string symptoms_type { get; set; }
|
|
public string status { get; set; }
|
|
public string creator { get; set; }
|
|
public string create_time { get; set; }
|
|
public string default_status { get; set; }
|
|
public string pinyin_code { get; set; }
|
|
}
|
|
|
|
public class SitexxViewModel
|
|
{
|
|
public int id { get; set; }
|
|
[Required(ErrorMessage = "*")]
|
|
public string enterprise_name { get; set; }
|
|
public string abbreviation { get; set; }
|
|
public string enterprise_pinyincode { get; set; }
|
|
public string post_id { get; set; }
|
|
public string address { get; set; }
|
|
public string belong_area { get; set; }
|
|
public int area_info_maintain_id { get; set; }
|
|
public string belong_trade { get; set; }
|
|
public string org_code { get; set; }
|
|
public string city_rural_type { get; set; }
|
|
public string school_type { get; set; }
|
|
public int trade_maintain_id { get; set; }
|
|
public string contacts { get; set; }
|
|
public string telephone { get; set; }
|
|
public string email { get; set; }
|
|
public string portraiture { get; set; }
|
|
public string introduction { get; set; }
|
|
public string status { get; set; }
|
|
public string attribution { get; set; }
|
|
public bool xx { get; set; }
|
|
public bool cz { get; set; }
|
|
public bool gz { get; set; }
|
|
}
|
|
|
|
public class Groupqz
|
|
{
|
|
public int id { get; set; }
|
|
public string team_name { get; set; }
|
|
public int exam_group_maintain_id { get; set; }
|
|
public string prepose_condition { get; set; }
|
|
public int exam_prepose_condition_maintain_id { get; set; }
|
|
public string status { get; set; }
|
|
public string creator { get; set; }
|
|
public string create_time { get; set; }
|
|
}
|
|
|
|
public class SystemParms
|
|
{
|
|
public int id { get; set; }
|
|
public string parm_name { get; set; }
|
|
public string Parm_value { get; set; }
|
|
public string Parm_remarks { get; set; }
|
|
}
|
|
|
|
|
|
}
|
|
} |