Ejemplo n.º 1
0
 public UpdateDeveloperCommand(int id, string descriptionPT, string descriptionEN, EntityStateOptions entityState)
 {
     Id            = id;
     DescriptionEN = descriptionEN;
     DescriptionPT = descriptionPT;
     EntityState   = entityState;
 }
Ejemplo n.º 2
0
 public RegisterNewDesignerCommand(string descriptionPT, string descriptionEN, EntityStateOptions entityState)
 {
     Id            = 0;
     DescriptionEN = descriptionEN;
     DescriptionPT = descriptionPT;
     EntityState   = entityState;
 }
Ejemplo n.º 3
0
 public UpdateWorkAvailabilityCommand(int id, string descriptionEN, string descriptionPT, EntityStateOptions entityState)
 {
     Id            = id;
     DescriptionEN = descriptionEN;
     DescriptionPT = descriptionPT;
     EntityState   = entityState;
 }
Ejemplo n.º 4
0
 public UpdateBestWorkTimeCommand(int id, string descriptionPT, string descriptionEN, EntityStateOptions entityState)
 {
     Id            = id;
     DescriptionEN = descriptionEN;
     DescriptionPT = descriptionPT;
     EntityState   = entityState;
 }
 public WorkAvailabilityRegisteredEvent(int id, string descriptionEN, string descriptionPT, EntityStateOptions entityState, DateTime dateCreated)
 {
     Id            = id;
     DescriptionEN = descriptionEN;
     DescriptionPT = descriptionPT;
     EntityState   = entityState;
     DateCreated   = dateCreated;
 }
Ejemplo n.º 6
0
 public DesignerRegisteredEvent(int id, string descriptionPT, string descriptionEN, EntityStateOptions entityState, DateTime dateCreated)
 {
     Id            = id;
     DescriptionEN = descriptionEN;
     DescriptionPT = descriptionPT;
     EntityState   = entityState;
     DateCreated   = dateCreated;
 }
Ejemplo n.º 7
0
 public DesignerUpdatedEvent(int id, string descriptionPT, string descriptionEN, EntityStateOptions entityState, DateTime dateUpdate)
 {
     Id             = id;
     DescriptionEN  = descriptionEN;
     DescriptionPT  = descriptionPT;
     EntityState    = entityState;
     DateLastUpdate = dateUpdate;
 }
Ejemplo n.º 8
0
 public WorkAvailabilityUpdatedEvent(int id, string descriptionEN, string descriptionPT, EntityStateOptions entityState, DateTime dateUpdated)
 {
     Id             = id;
     DescriptionEN  = descriptionEN;
     DescriptionPT  = descriptionPT;
     EntityState    = entityState;
     DateLastUpdate = dateUpdated;
 }
Ejemplo n.º 9
0
 public OccupationUpdatedEvent(int id, int peopleId, People people, List <OccupationWorkAvailability> workAvailabilities, List <OccupationBestWorkTime> bestWorkTimes, EntityStateOptions entityState, DateTime dateUpdated)
 {
     Id                 = id;
     PeopleId           = peopleId;
     People             = people;
     WorkAvailabilities = workAvailabilities;
     BestWorkTimes      = bestWorkTimes;
     EntityState        = entityState;
     DateLastUpdated    = dateUpdated;
 }
Ejemplo n.º 10
0
 public KnowledgeUpdatedEvent(int id, int peopleId, People people, List <KnowledgeDesigner> knowledgeDesigner, List <KnowledgeDeveloper> knowledgeDeveloper, string other, string urlLink, EntityStateOptions entityState, DateTime dateUpdated)
 {
     Id                 = id;
     PeopleId           = peopleId;
     People             = people;
     KnowledgeDesigner  = knowledgeDesigner;
     KnowledgeDeveloper = knowledgeDeveloper;
     Other              = other;
     UrlLinkCRUD        = urlLink;
     EntityState        = entityState;
     DateLastUpdate     = dateUpdated;
 }
Ejemplo n.º 11
0
 /// <summary>
 /// <see cref="CustomerEntityModel"/> クラスの新しいインスタンスを作成します。
 /// </summary>
 /// <param name="customerId">得意先コード。</param>
 /// <param name="customerName">得意先名。</param>
 /// <param name="customerKanaName">得意先名カナ。</param>
 /// <param name="customerShortName">得意先略名。</param>
 /// <param name="establishmentDate">設立年月日。</param>
 /// <param name="ceo">代表者。</param>
 /// <param name="postalCode">郵便番号。</param>
 /// <param name="address">住所。</param>
 /// <param name="tel">電話番号。</param>
 /// <param name="fax">FAX番号。</param>
 /// <param name="mail">メールアドレス。</param>
 /// <param name="hp">ホームページ。</param>
 /// <param name="cutoffDateType">締日区分。</param>
 /// <param name="cutoffDate">締日。</param>
 /// <param name="collectionDateType">支払日区分。</param>
 /// <param name="collectionDate">支払日。</param>
 /// <param name="taxType">消費税区分。</param>
 /// <param name="taxCalcType">消費税計算区分。</param>
 /// <param name="taxRoundType">消費税端数処理区分。</param>
 /// <param name="note">メモ。</param>
 /// <param name="updateDateTime">更新日時。</param>
 /// <param name="updateUserId">更新者コード。</param>
 /// <param name="entityState">エンティティ状態。</param>
 public CustomerEntityModel(
     string customerId,
     string customerName,
     string customerKanaName,
     string customerShortName,
     DateTime?establishmentDate,
     string ceo,
     string postalCode,
     string address,
     string tel,
     string fax,
     string mail,
     string hp,
     CutoffDateTypeOptions cutoffDateType,
     int cutoffDate,
     CollectionDateTypeOptions collectionDateType,
     int collectionDate,
     TaxTypeOptions taxType,
     TaxCalcTypeOptions taxCalcType,
     TaxRoundTypeOptions taxRoundType,
     string note,
     DateTime updateDateTime,
     string updateUserId,
     EntityStateOptions entityState = EntityStateOptions.None
     )
 {
     this.CustomerId        = customerId;
     this.CustomerName      = customerName;
     this.CustomerKanaName  = customerKanaName;
     this.CustomerShortName = customerShortName;
     this.EstablishmentDate = establishmentDate;
     this.Ceo                = ceo;
     this.PostalCode         = postalCode;
     this.Address            = address;
     this.Tel                = tel;
     this.Fax                = fax;
     this.Mail               = mail;
     this.Hp                 = hp;
     this.CutoffDateType     = cutoffDateType;
     this.CutoffDate         = cutoffDate;
     this.CollectionDateType = collectionDateType;
     this.CollectionDate     = collectionDate;
     this.TaxType            = taxType;
     this.TaxCalcType        = taxCalcType;
     this.TaxRoundType       = taxRoundType;
     this.Note               = note;
     this.UpdateDateTime     = updateDateTime;
     this.UpdateUserId       = updateUserId;
     this.EntityState        = entityState;
 }
Ejemplo n.º 12
0
 /// <summary>
 /// <see cref="ProductCategoryEntityModel"/> クラスの新しいインスタンスを作成します。
 /// </summary>
 /// <param name="categoryId">カテゴリコード。</param>
 /// <param name="categoryName">カテゴリ名。</param>
 /// <param name="updateDateTime">更新日時。</param>
 /// <param name="updateUserId">更新者コード。</param>
 /// <param name="entityState">エンティティ状態。</param>
 public ProductCategoryEntityModel(
     string categoryId,
     string categoryName,
     DateTime updateDateTime,
     string updateUserId,
     EntityStateOptions entityState = EntityStateOptions.None
     )
 {
     this.CategoryId     = categoryId;
     this.CategoryName   = categoryName;
     this.UpdateDateTime = updateDateTime;
     this.UpdateUserId   = updateUserId;
     this.EntityState    = entityState;
 }
Ejemplo n.º 13
0
 /// <summary>
 /// <see cref="BrandEntityModel"/> クラスの新しいインスタンスを作成します。
 /// </summary>
 /// <param name="brandId">ブランドコード。</param>
 /// <param name="brandName">ブランド名。</param>
 /// <param name="note">メモ。</param>
 /// <param name="updateDateTime">更新日時。</param>
 /// <param name="updateUserId">更新者コード。</param>
 /// <param name="entityState">エンティティ状態。</param>
 public BrandEntityModel(
     string brandId,
     string brandName,
     string note,
     DateTime updateDateTime,
     string updateUserId,
     EntityStateOptions entityState = EntityStateOptions.None
     )
 {
     this.BrandId        = brandId;
     this.BrandName      = brandName;
     this.Note           = note;
     this.UpdateDateTime = updateDateTime;
     this.UpdateUserId   = updateUserId;
     this.EntityState    = entityState;
 }
Ejemplo n.º 14
0
 /// <summary>
 /// <see cref="ProductEntityModel"/> クラスの新しいインスタンスを作成します。
 /// </summary>
 /// <param name="productId">商品コード。</param>
 /// <param name="productName">商品名。.</param>
 /// <param name="brandId">ブランドコード。</param>
 /// <param name="catetoryId">カテゴリコード。</param>
 /// <param name="listPrice">定価。</param>
 /// <param name="productTagType">商品タグ。</param>
 /// <param name="updateDateTime">更新日時。</param>
 /// <param name="updateUserId">更新者コード。</param>
 /// <param name="entityState">エンティティ状態。</param>
 public ProductEntityModel(
     string productId,
     string productName,
     string brandId,
     string catetoryId,
     decimal listPrice,
     ProductTagTypeOptions productTagType,
     DateTime updateDateTime,
     string updateUserId,
     EntityStateOptions entityState = EntityStateOptions.None
     )
 {
     this.ProductId      = productId;
     this.ProductName    = productName;
     this.BrandId        = brandId;
     this.CatetoryId     = catetoryId;
     this.ListPrice      = listPrice;
     this.ProductTagType = productTagType;
     this.UpdateDateTime = updateDateTime;
     this.UpdateUserId   = updateUserId;
     this.EntityState    = entityState;
 }